package com.cloud.sso.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.ArrayList;
import java.util.List;

@Data
public class RoleMenuSaveDto {

    @NotEmpty(message = "角色id不能为空")
    private String roleId;

    private List<String> menuArray = new ArrayList<>();

}
